package com.showtao.front.dto.upstream;

import java.io.Serializable;

import javax.validation.constraints.Pattern;

import org.hibernate.validator.constraints.NotEmpty;

@SuppressWarnings("serial")
public class MobileUserLoginDto implements Serializable {

    @NotEmpty
    @Pattern(regexp="\\d{11}", message="手机号码格式不正确")
    private String mobile;
    
    @NotEmpty
    private String pwd;

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

}
